<template>
    <div>
        v-model练习
        <my-component v-model:value="iptValue">传参下来的</my-component>
        <div>
            当前输入框的值 {{ iptValue }}
        </div>
    </div>
    <!-- index的值 -->
     <p> index.js的值为{{ceshi}}</p>
    <index2></index2>
</template>
<script setup >
import MyComponent from './myComponent.vue'
import index2 from './index2.vue'
import { ref } from 'vue'
import {ceshi} from '../index'
console.log(ceshi,'ceshi')
const iptValue = ref('')
</script>
<style scoped lang='less'></style>
